package exercises.Charpter10;

public class Seven {
	private int a = 0;
	private void func(){
		System.out.println("Seven func");
	}
	class Inner{
		void myfunc(){
			a = 10;
			func();
		}
	}
	public static void main(String[] args){
		Seven test = new Seven();
		Inner test1 = test.new Inner();
		test1.myfunc();
		System.out.println(test.a);
		
	}
}
